Skip to content

Keep the legacy Resolution parity check warning-free - #1314

Merged
Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
task/resolution-parity-warning-20261123
Nov 23, 2026
Merged

Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
task/resolution-parity-warning-20261123

Conversation

@wallstop

Copy link
Copy Markdown
Collaborator

DISCLOSURE: LLM-GENERATED TEXT

Addresses the CS0618 entry in #1305 for WProtoSurrogateParityTests. The test deliberately uses the obsolete Resolution conversion as the legacy wire-format reference. A two-line diagnostic scope keeps that exact call and its byte comparisons in place.

The repository test-source compiler reproduced the warning at the conversion after enabling CS0618. With the diagnostic scope in place, the same fixture compiles without the targeted warning. The check also exposed an older TextureScale warning through the host reference profile. Changed-file preflight and push validation passed.

The other warning families in #1305 remain open.

@cursor

cursor Bot commented Nov 23, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The parity test now suppresses the CS0618 warning around the existing Resolution-to-ResolutionSurrogate conversion, then restores warning reporting. The test and its sample values are unchanged.

Changes: Parity test warning scope

Layer / File(s) Summary
Scope the obsolete API warning
Tests/Runtime/Serialization/WProtoSurrogateParityTests.cs
The test suppresses CS0618 around the conversion and restores warning reporting immediately afterward.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: Minimal · up to 8c146

This change only silences an expected obsolete-API warning in a parity test and does not alter runtime behavior, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the legacy Resolution parity check is kept warning-free. The raw summary confirms CS0618 suppression wraps the ResolutionSurrogate conversion in RunEveryCase, so the t…
Description check Passed The description covers the problem (CS0618 warning in #1305 for WProtoSurrogateParityTests) and what changed (a two-line diagnostic scope around the obsolete Resolution conversion). It also notes vali…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the legacy Resolution parity check is kept warning-free. The raw summary confirms CS0618 suppression wraps the ResolutionSurrogate conversion in RunEveryCase, so the title matches the changeset. It is specific and concise.

Full details: Description check

Explanation

The description covers the problem (CS0618 warning in #1305 for WProtoSurrogateParityTests) and what changed (a two-line diagnostic scope around the obsolete Resolution conversion). It also notes validation and that other warning families remain open. It does not follow the repository template: the 'Why' and 'What' headings are missing, the 'What' bullets are not used, and the 'Refs #' line is absent. The 'Why' sentence is not a single plain sentence of user or project need. The 'DISCLOSURE: LLM-GENERATED TEXT' line is extra. The required information is present, so the check passes, but the author should align the format with the template.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review details

Context from checks skipped due to timeout: 1

  • GitHub Check: CodeRabbit
Additional context used

Code guidelines: 4

.llm/context.md — auto-discovered
.agents/skills/add-inspector-attribute/SKILL.md — Agent Skill
.agents/skills/honest-gates/SKILL.md — Agent Skill
.claude/skills/test-odin-drawers/SKILL.md — Agent Skill
Path-based instructions: 3

Applicability reference: AGENTS.md: # Repository Guidelines See the [AI Agent Guidelines](./.llm/context.md) for all AI agent guidelines.

CodeRabbit inference engine (.llm/context.md)

Files:

  • Tests/Runtime/Serialization/WProtoSurrogateParityTests.cs
Applicability reference: AGENTS.md: # Repository Guidelines See the [AI Agent Guidelines](./.llm/context.md) for all AI agent guidelines.

CodeRabbit inference engine (.llm/context.md)

Files:

  • Tests/Runtime/Serialization/WProtoSurrogateParityTests.cs
Source excerpt:

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DISCLOSURE: LLM-GENERATED TEXT

OpenAI review: 0 findings.

The warning suppression is scoped to the legacy conversion and leaves the parity checks intact.

5538 in, 278 out tokens. Comments only; this review never blocks a merge.

@wallstop
Eli Pinkerton (wallstop) merged commit 68d7173 into main Nov 23, 2026
29 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the task/resolution-parity-warning-20261123 branch November 23, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant